package com.shenfc.fxzj.service.impl;

import com.shenfc.fxzj.domain.SysRoleRel;
import com.shenfc.fxzj.mapper.SysRoleRelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shenfc.fxzj.service.ISysRoleRelService;

import java.util.List;

/**
 * Created by Administrator on 2018/2/3 0003.
 */
@Service("sysRoleRelService")
public class SysRoleRelServiceImpl implements ISysRoleRelService{

    @Autowired
    private SysRoleRelMapper sysRoleRelMapper;


    @Override
    public List<SysRoleRel> getRoleRelByRoleId(Long roleId, String relType) {
        return sysRoleRelMapper.getRoleRelByRoleId(roleId,relType);
    }
}
